package com.idp.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.idp.app.dto.AppFeedbackDto;
import com.idp.app.dto.AppFeedbackSearchDto;
import com.idp.app.entity.AppFeedbackEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 意见与反馈Mapper
 * @author King
 */
@Mapper
public interface AppFeedbackMapper extends BaseMapper<AppFeedbackEntity> {

    /**
     * 条件查询
     * @param appFeedbackSearchDto
     * @return
     */
    List<AppFeedbackDto> getList(AppFeedbackSearchDto appFeedbackSearchDto);

    /**
     * 通过id查询
     * @param id
     * @return
     */
    AppFeedbackDto getById(String id);
}
